#ifndef __GAME_H__
#define __GAME_H__

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define MINECOUNT 10

#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2

//初始化棋盘
void InitBoard(char boadr[ROWS][COLS],int rows,int cols,char set);
//打印棋盘
void PrintBoard(char boadr[ROWS][COLS],int row,int col);
//埋雷
void SetMine(char boadr[ROWS][COLS],int row,int col);
//扫雷
void MineClearance(char show[ROWS][COLS],char mine[ROWS][COLS],int row,int col);

#endif